Total Complexity | 59 |
Dependencies | 4 |
Dependents | 1 |
Total lines | 361 |
Lines of code | 219 |
Logical lines of code | 155 |
Comment lines | 34 |
Methods | 15 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
is_post_content_restricted() | 48 | 11 | 31 | |
protection_disabled() | 60 | 7 | 12 | |
get_restricted_message() | 52 | 6 | 26 | |
woocommerce_compatibility() | 52 | 5 | 24 | |
close_tags() | 54 | 5 | 21 | |
get_post_excerpt() | 57 | 5 | 16 | |
__construct() | 54 | 4 | 22 | |
trim_content() | 54 | 4 | 20 | |
uncode_theme_compatibility() | 64 | 2 | 10 | |
restricted_page_template() | 66 | 2 | 8 | |
the_content() | 63 | 2 | 10 | |
style_paywall_message() | 70 | 2 | 6 | |
get_instance() | 69 | 2 | 7 | |
can_use_restricted_template() | 79 | 1 | 3 | |
parse_message() | 78 | 1 | 3 |